package com.zmzncs.lmtc.module.customer.pojo.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmzncs.lmtc.common.pojo.enums.SexEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户-客户信息
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Data
public class CustomerSearchForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "页码", required = true)
    @NotNull
    private Integer currentPage;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize = 20;

    @ApiModelProperty(value = "搜索关键字")
    private String keyword;

    @ApiModelProperty(value = "是否是会员（1：是   0：否）")
    private Integer isVip;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "性别（1：男，0：女）")
    private SexEnum sex;

    @ApiModelProperty(value = "车牌号")
    private String carNumber;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    private Date begin;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    private Date end;

}
